<style import="cr-shared-style">
  :host {
    --action-height: 34px;
    border: solid 1px var(--google-grey-500);
    border-radius: calc(var(--action-height) / 2);
    display: flex;
    height: var(--action-height);
    min-width: 0;
    outline: none;
    padding-inline-end: 16px;
    padding-inline-start: 12px;
  }

  .contents {
    align-items: center;
    display: flex;
    min-width: 0;
  }

  #action-icon {
    flex-shrink: 0;
    height: var(--cr-icon-size);
    width: var(--cr-icon-size);
  }

  #text {
    font-size: 0.875rem;  /* 14px */
    overflow: hidden;
    padding-inline-start: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  :host(:hover) {
    background-color: var(--action-bg-hovered,
                          rgba(var(--google-grey-900-rgb), .1));
  }

  :host-context(.focus-outline-visible):host(:focus) {
    box-shadow: inset 0 0 0 2px var(--cr-focus-outline-color);
  }

</style>
<div class="contents">
  <img id="action-icon" src$="[[action.iconUrl]]">
  <div id="text" inner-h-t-m-l="[[hintHtml_]]"></div>
</div>

